package com.qf.test;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @author jiangjingbo
 * @version V1.0
 * @Project java2203
 * @Package com.qf.test
 * @Description:
 * @Date 2022/7/5 10:25
 */
@Component
@RabbitListener(queues = "testQueue3")
public class Listener3 {
    @RabbitHandler
    public void test3(String str){
        System.out.println("用于接收3"+str);
    }

}
